package com.CodingInn.code.aop;

import org.springframework.stereotype.Component;

@Component
public class HelloService {
	public HelloService() {
		System.out.println("HelloService init");
	}

	public String sayHello(String name){
		String result = "hello:" + name;
		System.out.println(result);
		int length = name.length();

		return result + "---" + length;
	}
}
